<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
  html { height: 100% }
  body { height: 100%; margin: 0px; padding: 0px }
  #map_canvas { height: 100% }
</style>
<script type="text/javascript"
    src="http://maps.google.com/maps/api/js?sensor=false">
</script>
<script type="text/javascript">
	// Definovat globalni promnenne 	
		var ikonka = 'atpr/markercurrent.png';
		var znacka = Array();
		var popisek = Array();
		var bublina = null;
		
	function initialize(){
		var mapOptions = {
			zoom: 11,
			center: new google.maps.LatLng(-37.700, 145.055237),
			mapTypeId: google.maps.MapTypeId.ROADMAP
		};
		var mapa = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
		bublina = new google.maps.InfoWindow();	

	// ENTRY NUMBER 001	
		var ucitel = 'Martin Kostir';		
		var souradnice = new google.maps.LatLng(-37.765228,144.972992);
    	popisek[1] =   '<h3>Martin Kostir</h3>'+
						    '<p><small>'+
						    '<b>Experience: </b>final year trainee <br>' +
						    '<b>Location: </b>Brunswick East <br>'+
						    '<b>Price range: </b>$20-$50 per lesson <br>'+
						    '<b>Other skills: </b>certified yoga teacher <br>'+
						    '<b>Website: </b><a href="http://www.attm.info">www.attm.info</a>'+
						    '</small></p>';
 		znacka[1] = new google.maps.Marker({position:souradnice,map:mapa,title:ucitel,icon:ikonka});
  		google.maps.event.addListener(znacka[1], 'click', function(){bublina.setContent(popisek[1]); bublina.open(mapa,znacka[1]);});
	
	// ENTRY NUMBER 002	
		var ucitel = 'School of FM Alexander studies';		
		var souradnice = new google.maps.LatLng(-37.780285,144.986664);
    	popisek[2] =   '<h3>School of FM Alexander studies</h3>'+
						    '<p><small>'+
						    '<b>Director: </b>David Moore <br>'+
						    '<b>Location: </b>Fitzroy North <br>'+
						    '<b>Price range: </b>$50-$120 per lesson <br>'+
						    '<b>Website: </b><a href="http://www.alexanderschool.edu.au/">www.alexanderschool.edu.au</a>'+
						    '</small></p>';
 		znacka[2] = new google.maps.Marker({position:souradnice,map:mapa,title:ucitel,icon:ikonka});
  		google.maps.event.addListener(znacka[2], 'click', function(){bublina.setContent(popisek[2]); bublina.open(mapa,znacka[2]);});

	// ENTRY NUMBER 003	
		var ucitel = 'Studio Evolving';		
		var souradnice = new google.maps.LatLng(-37.649544,145.541855);
    	popisek[3] =   '<h3>Studio Evolving</h3>'+
						    '<p><small>'+
						    '<b>Director: </b>Marigold Smith <br>'+
						    '<b>Location: </b>Healesville <br>'+
						    '<b>Price range: </b>$70-$90 per lesson <br>'+
						    '<b>Website: </b><a href="http://www.studioevolving.com.au">www.studioevolving.com.au</a>'+
						    '</small></p>';
 		znacka[3] = new google.maps.Marker({position:souradnice,map:mapa,title:ucitel,icon:ikonka});
  		google.maps.event.addListener(znacka[3], 'click', function(){bublina.setContent(popisek[3]); bublina.open(mapa,znacka[3]);});

	}	
	
</script>
</head>
<body onload="initialize()">
  <div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>
